package cn.est.service;

import cn.est.exceptions.FileException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

public interface FileService {

    public String  upload(MultipartFile multipartFile) throws FileException;

    public boolean delete(String fileName) throws FileException;

    public void download(String fileName,HttpServletResponse response) throws IOException;



}
